package com.zhao.dota.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhao.dota.model.Role;
import com.zhao.dota.model.User;

import java.util.List;

public interface RoleService extends IService<Role> {

    List<Role> findByUserId(Integer userId);

    void addPlayerRole(User user);

}
